package cn.sumpu.app.coolsk.biz;

import cn.sumpu.app.coolsk.domain.Syslog;
import cn.sumpu.app.coolsk.exception.AppBusinessException;
import cn.sumpu.toolkit.common.page.PageModel;

public interface SyslogBiz {

	//添加系统日志
	void addSyslog(Syslog syslog) throws AppBusinessException;
	//查询系统日志
	PageModel getSyslogs(String startTime, String endTime, String actionType, Integer pageSize, Integer page) throws Exception;
	//查询系统日志总条数
	Integer getSyslogsCount(String startTime, String endTime, String actionType) throws Exception;
	
}
